package scenetracer.core.primitive;

import scenetracer.core.Primitive;
import scenetracer.math.Point3;
import scenetracer.math.Vector3;

public class MeshIntersectionState extends IntersectionState{

	public Triangle triangleOwner;
	
	public MeshIntersectionState(Point3 point, Vector3 normalVec,
			Primitive pointOwner, Triangle triangleOwner) {
	//	super(point, normalVec, pointOwner);
	setIntersectionPoint(point);
	setNormal(normalVec);
	setPrimitive(pointOwner);
	this.triangleOwner = triangleOwner;
	}
	
}
